/**
 * 
 */
package org.gov.vis.data.gui;

import java.awt.Frame;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;

import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;

import org.gov.vis.components.VISTextField;
import org.gov.vis.data.gui.listener.ProgencyListener;
import org.gov.vis.gui.VisBaseDialog;
import org.gov.vis.gui.util.GuiUtil;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
/**
 * @author Vishwanath
 *
 */
public class PrgyDialog extends VisBaseDialog {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5485523865413562689L;
	private JScrollPane jScrollPane1;
	private JLabel lblFarmerCode;
	private VISTextField txtFldFrmCode;
	private JLabel lblVillage;
	private JLabel lblColor;
	private VISTextField txtFldSex;
	private JLabel lblSex;
	private VISTextField txtFldPrntg;
	private JLabel lblPercentage;
	private VISTextField txtFldBreedTpe;
	private JLabel lblBreedType;
	private VISTextField txtFldCalfDOB;
	private JLabel lblCalfDOB;
	private VISTextField txtFldDstr;
	private JLabel lblDistrict;
	private VISTextField txtFldMdl;
	private JPanel pnlBtnPrgy;
	private VISTextField txtFldNoCal;
	private JPanel pnlMessages;
	private VISTextField txtFldMthlyWgt;
	private JLabel lblGrowthMonthlyWgt;
	private VISTextField txtFldGrwBrthWght;
	private JLabel lblGrowthBirthWet;
	private VISTextField txtFldNutri;
	private JLabel lblNutrition;
	private VISTextField txtFldOthe;
	private JLabel lblOthers;
	private VISTextField txtFldDetic;
	private JLabel lblDeticking;
	private VISTextField txtFldVacc;
	private JLabel lblVaccintion;
	private VISTextField txtFldDwrm;
	private JLabel lblDeworming;
	private VISTextField txtFldBullNo;
	private JLabel lblBullNo;
	private VISTextField txtFldPrsntYildLiters;
	private JLabel lblPresentYield;
	private VISTextField txtFldPrvYildLtr;
	private JLabel lblPreviousYield;
	private VISTextField txtFldNoAIDnCnsu;
	private JLabel lblNoOfAI;
	private JLabel lblNoOfCalving;
	private VISTextField txtFldBreed;
	private JLabel lblBreed;
	private VISTextField txtFldTagNo;
	private JLabel lblTagNo;
	private JButton btnReset;
	private JButton btnSave;
	private VISTextField txtFldClr;
	private JLabel lblMandal;
	private VISTextField txtFldVlge;
	private VISTextField txtFldRelstionTpe;
	private JLabel lblRelationType;
	private VISTextField txtFldFrmName;
	private JLabel lblFarmerName;
	private VISTextField txtFldCode;
	private JLabel lblCode;
	private JPanel pnlPrgyPanel;


	/**
	 * @param owner
	 * @param title
	 * @param modal
	 */
	public PrgyDialog(Frame owner, String title, boolean modal) {
		super(owner, title, modal);
		// TODO Auto-generated constructor stub
		initGUI();
		GuiUtil.CompCenterCords cords=GuiUtil.getCompCenterCords(500, 500);
		setBounds(cords.getX(), cords.getY(), 500, 500);		
	}

	private void initGUI() {
		// TODO Auto-generated method stub
		GridBagLayout thisLayout = new GridBagLayout();
		thisLayout.rowWeights = new double[] {0.1};
		thisLayout.rowHeights = new int[] {7};
		thisLayout.columnWeights = new double[] {0.1};
		thisLayout.columnWidths = new int[] {7};
		getContentPane().setLayout(thisLayout);
		{
			
			pnlPrgyPanel = new JPanel();
			GridBagLayout pnlPrgyPanelLayout = new GridBagLayout();
			pnlPrgyPanelLayout.columnWidths = new int[] {7, 7, 7, 7, 7};
			pnlPrgyPanelLayout.rowHeights = new int[] {7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7};
			pnlPrgyPanelLayout.columnWeights = new double[] {0.0, 0.0, 0.0, 0.1, 0.0};
			pnlPrgyPanelLayout.rowWeights = new double[] {0.0, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0, 0.1, 0.0};
			getContentPane().add(pnlPrgyPanel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
			pnlPrgyPanel.setLayout(pnlPrgyPanelLayout);
			{
				lblCode = new JLabel();
				pnlPrgyPanel.add(lblCode, new GridBagConstraints(1, 2, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblCode.setText("Code*:");
			}
			{
				txtFldCode = new VISTextField();
				pnlPrgyPanel.add(txtFldCode, new GridBagConstraints(3, 2, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblFarmerCode = new JLabel();
				pnlPrgyPanel.add(lblFarmerCode, new GridBagConstraints(1, 4, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblFarmerCode.setText("Farmer Code:");
			}
			{
				txtFldFrmCode = new VISTextField();
				pnlPrgyPanel.add(txtFldFrmCode, new GridBagConstraints(3, 4, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblFarmerName = new JLabel();
				pnlPrgyPanel.add(lblFarmerName, new GridBagConstraints(1, 6, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblFarmerName.setText("Framer Name:");
			}
			{
				txtFldFrmName = new VISTextField();
				pnlPrgyPanel.add(txtFldFrmName, new GridBagConstraints(3, 6, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblRelationType = new JLabel();
				pnlPrgyPanel.add(lblRelationType, new GridBagConstraints(1, 8, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblRelationType.setText("S/O (or) W/O:");
			}
			{
				txtFldRelstionTpe = new VISTextField();
				pnlPrgyPanel.add(txtFldRelstionTpe, new GridBagConstraints(3, 8, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblVillage = new JLabel();
				pnlPrgyPanel.add(lblVillage, new GridBagConstraints(1, 10, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblVillage.setText("Village:");
			}
			{
				txtFldVlge = new VISTextField();
				pnlPrgyPanel.add(txtFldVlge, new GridBagConstraints(3, 10, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblMandal = new JLabel();
				pnlPrgyPanel.add(lblMandal, new GridBagConstraints(1, 12, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblMandal.setText("Mandal:");
			}
			{
				txtFldMdl = new VISTextField();
				pnlPrgyPanel.add(txtFldMdl, new GridBagConstraints(3, 12, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblDistrict = new JLabel();
				pnlPrgyPanel.add(lblDistrict, new GridBagConstraints(1, 14, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblDistrict.setText("District:");
			}
			{
				txtFldDstr = new VISTextField();
				pnlPrgyPanel.add(txtFldDstr, new GridBagConstraints(3, 14, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblCalfDOB = new JLabel();
				pnlPrgyPanel.add(lblCalfDOB, new GridBagConstraints(1, 16, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblCalfDOB.setText("Calf Date of Birth:");
			}
			{
				txtFldCalfDOB = new VISTextField();
				pnlPrgyPanel.add(txtFldCalfDOB, new GridBagConstraints(3, 16, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblBreedType = new JLabel();
				pnlPrgyPanel.add(lblBreedType, new GridBagConstraints(1, 18, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblBreedType.setText("Breed Type:");
			}
			{
				txtFldBreedTpe = new VISTextField();
				pnlPrgyPanel.add(txtFldBreedTpe, new GridBagConstraints(3, 18, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblPercentage = new JLabel();
				pnlPrgyPanel.add(lblPercentage, new GridBagConstraints(1, 20, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblPercentage.setText("Percentage:");
			}
			{
				txtFldPrntg = new VISTextField();
				pnlPrgyPanel.add(txtFldPrntg, new GridBagConstraints(3, 20, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblSex = new JLabel();
				pnlPrgyPanel.add(lblSex, new GridBagConstraints(1, 22, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblSex.setText("Sex:");
			}
			{
				txtFldSex = new VISTextField();
				pnlPrgyPanel.add(txtFldSex, new GridBagConstraints(3, 22, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblColor = new JLabel();
				pnlPrgyPanel.add(lblColor, new GridBagConstraints(1, 24, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblColor.setText("Colour:");
			}
			{
				txtFldClr = new VISTextField();
				pnlPrgyPanel.add(txtFldClr, new GridBagConstraints(3, 24, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				pnlBtnPrgy = new JPanel();
				pnlPrgyPanel.add(pnlBtnPrgy, new GridBagConstraints(3, 54, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				{
					btnSave = new JButton();
					pnlBtnPrgy.add(btnSave);
					btnSave.setText(getResources().getString("dialog_button_save"));
					//btnSave.addActionListener(new ProgencyListener(this));
				}
				{
					btnReset = new JButton();
					pnlBtnPrgy.add(btnReset);
					btnReset.setText(getResources().getString("dialog_button_reset"));
					//btnReset.addActionListener(new ProgencyListener(this));
				}
			}
			{
				lblTagNo = new JLabel();
				pnlPrgyPanel.add(lblTagNo, new GridBagConstraints(1, 26, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblTagNo.setText("Tag No:");
			}
			{
				txtFldTagNo = new VISTextField();
				pnlPrgyPanel.add(txtFldTagNo, new GridBagConstraints(3, 26, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblBreed = new JLabel();
				pnlPrgyPanel.add(lblBreed, new GridBagConstraints(1, 28, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblBreed.setText("Breed:");
			}
			{
				txtFldBreed = new VISTextField();
				pnlPrgyPanel.add(txtFldBreed, new GridBagConstraints(3, 28, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblNoOfCalving = new JLabel();
				pnlPrgyPanel.add(lblNoOfCalving, new GridBagConstraints(1, 30, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblNoOfCalving.setText("No of Calving:");
			}
			{
				txtFldNoCal = new VISTextField();
				pnlPrgyPanel.add(txtFldNoCal, new GridBagConstraints(3, 30, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblNoOfAI = new JLabel();
				pnlPrgyPanel.add(lblNoOfAI, new GridBagConstraints(1, 32, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblNoOfAI.setText("No of AI Done For Conception:");
			}
			{
				txtFldNoAIDnCnsu = new VISTextField();
				pnlPrgyPanel.add(txtFldNoAIDnCnsu, new GridBagConstraints(3, 32, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblPreviousYield = new JLabel();
				pnlPrgyPanel.add(lblPreviousYield, new GridBagConstraints(1, 34, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblPreviousYield.setText("Previous Location Yield in Litres:");
			}
			{
				txtFldPrvYildLtr = new VISTextField();
				pnlPrgyPanel.add(txtFldPrvYildLtr, new GridBagConstraints(3, 34, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblPresentYield = new JLabel();
				pnlPrgyPanel.add(lblPresentYield, new GridBagConstraints(1, 36, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblPresentYield.setText("Present Milk Yield per day in liters:");
			}
			{
				txtFldPrsntYildLiters = new VISTextField();
				pnlPrgyPanel.add(txtFldPrsntYildLiters, new GridBagConstraints(3, 36, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblBullNo = new JLabel();
				pnlPrgyPanel.add(lblBullNo, new GridBagConstraints(1, 38, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblBullNo.setText("Bull No:");
			}
			{
				txtFldBullNo = new VISTextField();
				pnlPrgyPanel.add(txtFldBullNo, new GridBagConstraints(3, 38, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblDeworming = new JLabel();
				pnlPrgyPanel.add(lblDeworming, new GridBagConstraints(1, 40, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblDeworming.setText("Deworming(Dates):");
			}
			{
				txtFldDwrm = new VISTextField();
				pnlPrgyPanel.add(txtFldDwrm, new GridBagConstraints(3, 40, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblVaccintion = new JLabel();
				pnlPrgyPanel.add(lblVaccintion, new GridBagConstraints(1, 42, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblVaccintion.setText("Vaccintion(Type & Date):");
			}
			{
				txtFldVacc = new VISTextField();
				pnlPrgyPanel.add(txtFldVacc, new GridBagConstraints(3, 42, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblDeticking = new JLabel();
				pnlPrgyPanel.add(lblDeticking, new GridBagConstraints(1, 44, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblDeticking.setText("Deticking(Date):");
			}
			{
				txtFldDetic = new VISTextField();
				pnlPrgyPanel.add(txtFldDetic, new GridBagConstraints(3, 44, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblOthers = new JLabel();
				pnlPrgyPanel.add(lblOthers, new GridBagConstraints(1, 46, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblOthers.setText("Others(Specify):");
			}
			{
				txtFldOthe = new VISTextField();
				pnlPrgyPanel.add(txtFldOthe, new GridBagConstraints(3, 46, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblNutrition = new JLabel();
				pnlPrgyPanel.add(lblNutrition, new GridBagConstraints(1, 48, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblNutrition.setText("Nutrition(Calf Feed etc.):");
			}
			{
				txtFldNutri = new VISTextField();
				pnlPrgyPanel.add(txtFldNutri, new GridBagConstraints(3, 48, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblGrowthBirthWet = new JLabel();
				pnlPrgyPanel.add(lblGrowthBirthWet, new GridBagConstraints(1, 50, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblGrowthBirthWet.setText("Growth-Birth Weight Kg.:");
			}
			{
				txtFldGrwBrthWght = new VISTextField();
				pnlPrgyPanel.add(txtFldGrwBrthWght, new GridBagConstraints(3, 50, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				lblGrowthMonthlyWgt = new JLabel();
				pnlPrgyPanel.add(lblGrowthMonthlyWgt, new GridBagConstraints(1, 52, 1, 1, 0.0, 0.0, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				lblGrowthMonthlyWgt.setText("Growth-Monthly Weight Kg.:");
			}
			{
				txtFldMthlyWgt = new VISTextField();
				pnlPrgyPanel.add(txtFldMthlyWgt, new GridBagConstraints(3, 52, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
			}
			{
				pnlMessages = new JPanel();
				GridBagLayout jPanel1Layout = new GridBagLayout();
				pnlPrgyPanel.add(pnlMessages, new GridBagConstraints(1, 1, 3, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
				jPanel1Layout.rowWeights = new double[] {0.1};
				jPanel1Layout.rowHeights = new int[] {7};
				jPanel1Layout.columnWeights = new double[] {0.1};
				jPanel1Layout.columnWidths = new int[] {7};
				pnlMessages.setLayout(jPanel1Layout);
			}

			jScrollPane1 = new JScrollPane(pnlPrgyPanel);
			
			getContentPane().add(jScrollPane1, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));

		}
		this.setSize(500, 500);

		
	}

	public JPanel getjPanel1() {
		return pnlMessages;
	}


}
